import request from '@/utils/request'

// 获取所有社团
export function getAllClub(data) {
  return request({
    url: '/club/getAllClub',
    method: 'post',
	data
  })
}

// 退出社团
export function logoutClub() {
  return request({
    url: '/user/logoutClub',
    method: 'get'
  })
}